<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:p="http://primefaces.org/ui">
     
    <h:head>
        <title>Dialog-Data-Select</title>
        <style type="text/css">
            .ui-widget {
                font-size: 90%;
            }
        </style>
    </h:head>
     
    <h:body>
        <h:form>
            <p:dataTable var="row" value="#{dfView.opers}">
                <p:column headerText="Username">
                    <h:outputText value="#{row.username}" />
                </p:column>
 
                <p:column headerText="Password">
                    <h:outputText value="#{row.password}" />
                </p:column>
 
                <p:column style="width:32px;text-align: center">
                    <p:commandButton icon="ui-icon-search" actionListener="#{dfView.selectOperFromDialog(row)}" />
                </p:column>
            </p:dataTable>
        </h:form>
    </h:body>
     
</html>